package com.vito.dcs.water.device.dao;

import com.vito.dcs.water.device.model.WaterPoreModel;

import java.util.List;
import java.util.Map;

/**
 * @program: WaterPoreMapper
 * @description: 水稳搅拌机设备设置筛孔表持久化接口
 * @author: rongr
 * @create: 2019/04/10
 */
public interface WaterPoreMapper {

    /**
     * 保存WaterPoreModel对象
     *
     * @Param: [waterPoreModel]
     * @return: java.lang.Integer
     */
    public Integer saveWaterPore(Map<String, Object> map);

    /**
     * 通过主键更新WaterBlenderModel对象
     *
     * @Param: [waterPoreModel]
     * @return: java.lang.Integer
     */
    public Integer updateWaterPore(Map<String, Object> map);

    /**
     * 根据Id查询WaterPoreModel对象
     *
     * @Param: [waterPoreModel]
     * @return: com.vito.dcs.water.device.model.WaterPoreModel
     */
    public WaterPoreModel queryWaterPoreById(WaterPoreModel waterPoreModel);

    /**
     * 根据BlenderId查询WaterPoreModel对象
     *
     * @Param: [map]
     * @return: List<WaterPoreModel>
     */
    public List<WaterPoreModel> queryWaterPoreByBlenderId(Map<String, Object> map);

}

